import React from 'react';

export default class InsetHeader extends React.Component {
  constructor(props) {
    super(props)
  }

  render() {
    return (
      <div className="flex_row flex_space_around">
        <span onClick={this.clickHandle.bind(this)}>返回</span>
        <p> {this.props.title}</p>
      </div>
    )
  }
  clickHandle(){
    window.history.back()
  }
}